import request from '@/utils/request'

const baseApi = process.env.VUE_APP_BASE_API + '/oss/share'

export function uploadTeacherPhoto(formData) {
  return request({
    url: `${baseApi}/upload-teacher-photo`,
    method: 'put',
    data: formData
  })
}

export function uploadStudentPhoto(formData) {
  return request({
    url: `${baseApi}/upload-student-photo`,
    method: 'put',
    data: formData
  })
}
